export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  searchShow: false,
  labelWidth: 110,
  viewBtn: true,
  menuWidth: 300,
  column: [
    {
      type: 'input',
      label: '编号',
      prop: 'number',
      span: 12,
      width: 130,
      overHidden: true,
      search: true,
      display: false
    },
    {
      type: 'input',
      label: '监督人',
      prop: 'supervisionPerson',
      span: 12,
      width: 100,
      overHidden: true,
      formslot: true,
      search: true,
      required: true,
      rules: [{ required: true, message: '请选择监督人' }]
    },
    {
      type: 'date',
      label: '招标时间',
      prop: 'tenderTime',
      width: 120,
      overHidden: true,
      span: 12,
      display: true,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search: true,
      required: true,
      searchRange: true,
      rules: [{ required: true, message: '选择招标时间' }]
    },
    {
      type: 'input',
      label: '招标地点',
      prop: 'tenderPlace',
      width: 200,
      overHidden: true,
      span: 24,
      search: true,
      required: true,
      rules: [{ required: true, message: '填写招标地点' }]
    },
    {
      type: 'input',
      label: '甲方代表',
      prop: 'participants',
      span: 24,
      formslot: true,
      width: 100,
      overHidden: true,
      search: true,
      required: true,
      rules: [{ required: true, message: '选择甲方代表' }]
    },
    {
      type: 'input',
      label: '参与者ID',
      prop: 'participantsId',
      span: 24,
      display: false,
      hide: true
    },

    {
      type: 'input',
      label: '代理机构',
      prop: 'agency',
      width: 100,
      overHidden: true,
      span: 24,
      search: true,
      required: true,
      rules: [{ required: true, message: '填写代理机构' }]
    },
    {
      type: 'input',
      label: '项目名称',
      prop: 'projectName',
      span: 24,
      width: 150,
      overHidden: true,
      search: true,
      required: true,
      rules: [{ required: true, message: '填写项目名称' }]
    },
    {
      type: 'input',
      label: '项目负责人',
      prop: 'projectLeader',
      span: 12,
      formslot: true,
      width: 100,
      overHidden: true,
      search: true,
      required: true,
      rules: [{ required: true, message: '选择项目负责人' }]
    },
    {
      type: 'input',
      label: '经办人',
      prop: 'agent',
      width: 100,
      overHidden: true,
      formslot: true,
      span: 12,
      search: true
    },
    {
      type: 'input',
      label: '项目单位',
      prop: 'projectUnit',
      span: 12,
      width: 100,
      overHidden: true,
      formslot: true,
      search: true,
      required: true,
      rules: [{ required: true, message: '选择项目单位' }]
    },
    {
      type: 'input',
      label: '组织招标单位',
      prop: 'organizationalUnit',
      span: 12,
      width: 100,
      overHidden: true,
      formslot: true,
      search: true
    },
    {
      type: 'number',
      label: '项目预算金额',
      prop: 'projectBudgetAmount',
      span: 12,
      width: 120,
      precision: 2,
      search: true,
      required: true,
      rules: [{ required: true, message: '填写项目预算金额' }]
    },
    {
      type: 'select',
      label: '招标方式',
      prop: 'tenderMethod',
      span: 12,
      dicData: [
        { label: '国内', value: 0 },
        { label: '国际', value: 1 }
      ],
      display: true,
      props: { label: 'label', value: 'value' },
      cascaderItem: []
    },
    {
      type: 'textarea',
      label: '开标情况',
      prop: 'tenderSituation',
      width: 250,
      overHidden: true,
      span: 24,
      display: true,
      required: true,
      rules: [{ required: true, message: '请填写开标情况' }]
    },
    {
      type: 'textarea',
      label: '评标结果',
      prop: 'evaluationResults',
      span: 24,
      display: true,
      width: 250,
      overHidden: true,
      required: true,
      rules: [{ required: true, message: '请填写评标结果' }]
    },
    {
      type: 'textarea',
      label: '备注',
      width: 250,
      overHidden: true,
      prop: 'remarks',
      span: 24,
      display: true
    },
    {
      label: '附件信息',
      prop: 'uploadPage',
      type: 'input',
      formslot: true,
      slot: true,
      span: 24,
      hide: true
    }
  ]
}
